//
//  BXHeaderImageCell.m
//  MushroomTakeOut
//
//  Created by 同城天下 on 2017/5/24.
//  Copyright © 2017年 Yang Xu. All rights reserved.
//

#import "BXHeaderImageCell.h"

@interface BXHeaderImageCell ()


@property (weak, nonatomic) IBOutlet UILabel *lab;

@end


@implementation BXHeaderImageCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    _lab.font = [UIFont boldSystemFontOfSize:16];
    _headerImage.layer.cornerRadius = (self.contentView.H - 10) / 2.0;
    _headerImage.layer.masksToBounds = YES;
    _headerImage.backgroundColor = [UIColor whiteColor];
    
    if ([YXUserInfoManager isLoad]) {
        [_headerImage sd_setImageWithURL:[NSURL URLWithString:[YXUserInfoManager getUserInfo].imgUrl] placeholderImage:[UIImage imageNamed:@"ic_logoLogin"]];
    }
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
